<?php

namespace Home\Controller;

use Think\Controller;

class MessageController extends Controller {
	public function finance() {
        $data = D('info')->where('type=1')->field('id,title,file,img')->limit(3)->select();
        $this->assign('data', $data);
		$this->display('./message/finance.html');
	}
	public function work() {
        $data = D('info')->where('type=2')->field('id,title,file,img')->limit(3)->select();
        $this->assign('data', $data);
		$this->display('./message/work.html');
	}
	public function test() {
        $data = D('info')->where('type=4')->field('id,title,file,img')->limit(3)->select();
        $this->assign('data', $data);
		$this->display('./message/test.html');
	}
	public function audit() {
        $data = D('info')->where('type=3')->field('id,title,file,img')->limit(3)->select();
        $this->assign('data', $data);
		$this->display('./message/audit.html');
	}
	public function juanzeng() {
		$this->display('./contact/juanzeng.html');
	}
	public function zhiyuan() {
		$this->display('./contact/zhiyuan.html');
	}
	public function jiaru() {
		$this->display('./contact/jiaru.html');
	}
	public function aboutXR1() {
		$this->display('./aboutXR/aboutXR1.html');
	}
	public function aboutXR2() {
		$this->display('./aboutXR/aboutXR2.html');
	}
	public function aboutXR3() {
        $users = D('user')->where('is_del=0')->order('sort desc')->select();
        $this->assign('users',$users);
		$this->display('./aboutXR/aboutXR3.html');
	}
	public function aboutXR4() {
		$this->display('./aboutXR/aboutXR4.html');
	}

}